package com.songshuai.webapi.crm.dao;

import com.songshuai.webapi.crm.dto.po.ClueImportBodyPojo;
import com.songshuai.webapi.crm.dto.po.ClueImportHeaderPojo;
import com.songshuai.webapi.crm.model.ClueImportExcel;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Set;

public interface ClueImportExcelMapper {
    int deleteByPrimaryKey(String id);

    int insert(ClueImportExcel record);

    int insertSelective(ClueImportExcel record);

    ClueImportExcel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ClueImportExcel record);

    int updateByPrimaryKey(ClueImportExcel record);

    int insertBatch(@Param("list")List<ClueImportBodyPojo> list, @Param("clueImportHeaderPojo")ClueImportHeaderPojo clueImportHeaderPojo);

    Set<String> queryExistPhoneSet(@Param("phoneSet") Set<String> phoneSet);

    List<ClueImportExcel> queryClueImportList();

}